home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
STUTTGART
/
FROMUTS
/
LITTLEST
/
!LittleST
/
!Cstart
< prev
next >
Wrap
Text File
|
1992-03-04
|
2KB
|
60 lines
| > !Cstart
|
| Version 3.00
| 18 July 1989
|
| Obey file to set up the environment for working with C (release 3)
| Serves as an example, and also to get going on Disc 1 of the release
|
| Check that an old version of clib is not already installed
| ----------------------------------------------------------
|
set clib$flag 0
RMensure SharedClibrary 3.50 set clib$flag 1
RMensure SharedClibrary 0 set clib$flag 0
if "<clib$flag>"="1" then Error !!! Old shared C library !!! An old version of the shared C library (clib) is resident in memory. See page 44-45 of the Acorn C manual.
unset clib$flag
|
| Set up the location for the C programming session
| -------------------------------------------------
|
Echo !Cstart procedure for getting started
Echo
|
adfs
Echo Advanced Disc Filing System selected
Echo
|
set c$loc :IDEDisc4.$
|
| * If your C system is installed on a hard disc, edit the above line to *
| * read 'set c$loc :4.$' *
|
| Install the shared C library (clib)
| -----------------------------------
|
RMensure SharedClibrary 3.50 RMload <c$loc>.!System.modules.clib
RMensure SharedClibrary 3.50 Error You need at least version 3.50 of the shared C library
Echo Version 3.50, or later, of the shared C library installed
|
| Install the floating point emulator
| -----------------------------------
|
RMensure FPEmulator 2.80 RMload <c$loc>.!System.modules.FPE280
RMensure FPEmulator 2.80 Error You need at least version 2.80 of the floating point emulator
Echo FPE 2.80 (or later) installed
Echo
|
| Select library directory and current directory
| ----------------------------------------------
|
LIB <c$loc>.C-Compiler.library
Echo <c$loc>.C-Compiler.Library set as the current library
DIR <c$loc>.!LittleST
Echo <c$loc>.!LittleST selected as the current directory
Echo
|
unset c$loc
Echo !Cstart procedure successfully completed
|